Skip to content

Conversation

@VibeNL
Copy link
Owner

@VibeNL VibeNL commented Jan 22, 2026

No description provided.

@VibeNL VibeNL requested a review from Copilot January 22, 2026 08:50
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR refactors the synchronization logic to improve thread safety and initialization handling by replacing manual initialization tracking with a Lazy<Task<>> pattern for loading database table metadata.

Changes:

  • Replaced manual initialization tracking (_tablesWithDates dictionary and _tablesWithDatesInitialized flag) with a Lazy<Task<Dictionary<string, string>>> for thread-safe lazy initialization
  • Extracted table loading logic into a static method LoadTablesWithDatesAsync to support the new lazy initialization pattern
  • Moved the _tablesToIgnore array into the static method to avoid duplication

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

VibeNL and others added 2 commits January 22, 2026 09:52
…rvice.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@github-actions
Copy link

Development container published

Install with:

docker pull vibenl/ghostfoliosidekick:pr-856

@sonarqubecloud
Copy link

@github-actions
Copy link

Development container published

Install with:

docker pull vibenl/ghostfoliosidekick:pr-856

1 similar comment
@github-actions
Copy link

Development container published

Install with:

docker pull vibenl/ghostfoliosidekick:pr-856

@VibeNL VibeNL merged commit aca0e8a into master Jan 23, 2026
5 checks passed
@VibeNL VibeNL deleted the improve-sync branch January 23, 2026 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants